//
//  XMLClass.h
//  test
//
//  Created by Christian Speich on 11.01.08.
//  Copyright 2008 Christian Speich. All rights reserved.
//

#ifdef IPHONE
#  import <UIKit/UIKit.h>
#else
#  import <Cocoa/Cocoa.h>
#endif

@class Pupil;
@class Subject;
@class Mark;
@class Lesson;

@interface XMLClass : NSObject {
	NSXMLParser* xml;
	NSMutableString* currentStringValue;
	Pupil* pupil;
	Subject* currentSubject;
	Mark* currentMark;
	Lesson* currentLesson;
}

- (void)parseXMLFile:(NSString *)pathToFile;
- (void)parseXMLData:(NSData *)data;
- (void)removeLeadingSpaces:(NSMutableString*)string;

- (Pupil*)pupil;

@end
